// import 'package:flutter_test/flutter_test.dart';
// import 'package:app_dynamic_icon/app_dynamic_icon.dart';
// import 'package:app_dynamic_icon/app_dynamic_icon_platform_interface.dart';
// import 'package:app_dynamic_icon/app_dynamic_icon_method_channel.dart';
// import 'package:plugin_platform_interface/plugin_platform_interface.dart';
//
// class MockAppDynamicIconPlatform
//     with MockPlatformInterfaceMixin
//     implements AppDynamicIconPlatform {
//
//   @override
//   Future<String?> getPlatformVersion() => Future.value('42');
// }
//
// void main() {
//   final AppDynamicIconPlatform initialPlatform = AppDynamicIconPlatform.instance;
//
//   test('$MethodChannelAppDynamicIcon is the default instance', () {
//     expect(initialPlatform, isInstanceOf<MethodChannelAppDynamicIcon>());
//   });
//
//   test('getPlatformVersion', () async {
//     AppDynamicIcon appDynamicIconPlugin = AppDynamicIcon();
//     MockAppDynamicIconPlatform fakePlatform = MockAppDynamicIconPlatform();
//     AppDynamicIconPlatform.instance = fakePlatform;
//
//     expect(await appDynamicIconPlugin.getPlatformVersion(), '42');
//   });
// }
